package user.fragment;

class GoodsItem {
    private String imageUrl; // 图片 URL
    private String name;
    private String description;
    private double price;
    private int quantity; // 商品数量

    public GoodsItem(String imageUrl, String name, String description, double price, int quantity) {
        this.imageUrl = imageUrl;
        this.name = name;
        this.description = description;
        this.price = price;
        this.quantity = quantity;
    }

    public String getImageUrl() { return imageUrl; }
    public String getName() { return name; }
    public String getDescription() { return description; }
    public double getPrice() { return price; }
    public int getQuantity() { return quantity; }
}
